/*
 * Filename:    IntegrityMedicalDTO.java
 * Copyright:   2014 中国平安保险（集团）股份有限公司 版权所有
 * Company:     平安科技养老险及健康险系统开发部
 * Create at:   2014年10月30日
 */
package com.paic.mhis.hcpms.trust.dto;

import java.math.BigDecimal;

import org.apache.commons.lang.StringUtils;

import com.paic.mhis.common.base.dto.BaseDTO;

public class IntegrityMedicalDTO extends BaseDTO {

	private static final long serialVersionUID = 1L;
	private String doctorCode;// 医生编号
	private String name;// 医生姓名
	private String certificateNo;// 身份证号
	private String violationsScores; // 违规记分值
	private String violationsScoresDesc;// 违规记分明细
	private String healthcareProviderCode;// 机构编号
	private String healthcareProviderName;// 机构名称
	private String fullAddress;// 机构地址
	private String qualifiedDate;// 执业时间
	private String orgViolationsScoresDesc;// 机构违规记分明细
	private String caseNo;// 案件编号
	private String reason;// 扣分原因
	private String happenDate;// 案发日期
	private String remark;// 备注
	private String suspendPayExecutionTime;// 暂停医保服务权限时间
	private String punishDateStart;// 惩罚起期
	private String punishDateEnd;// 惩罚终期
	private String actCurrent;// 当前节点
	private byte[] dataBlob;

	public String getActCurrent() {
		return actCurrent;
	}

	public void setActCurrent(String actCurrent) {
		this.actCurrent = actCurrent;
	}

	public String getDoctorCode() {
		return doctorCode;
	}

	public void setDoctorCode(String doctorCode) {
		this.doctorCode = doctorCode;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCertificateNo() {
		return certificateNo;
	}

	public void setCertificateNo(String certificateNo) {
		this.certificateNo = certificateNo;
	}

	public String getViolationsScores() {
		if (this.violationsScores == null || "".equals(this.violationsScores)) {
			return violationsScores = "";
		}
		return new BigDecimal(violationsScores).setScale(1, BigDecimal.ROUND_FLOOR).toString();
	}

	public void setViolationsScores(String violationsScores) {
		this.violationsScores = violationsScores;
	}

	public String getViolationsScoresDesc() {
		return violationsScoresDesc;
	}

	public void setViolationsScoresDesc(String violationsScoresDesc) {
		this.violationsScoresDesc = violationsScoresDesc;
	}

	public String getHealthcareProviderCode() {
		return healthcareProviderCode;
	}

	public void setHealthcareProviderCode(String healthcareProviderCode) {
		this.healthcareProviderCode = healthcareProviderCode;
	}

	public String getHealthcareProviderName() {
		return healthcareProviderName;
	}

	public void setHealthcareProviderName(String healthcareProviderName) {
		this.healthcareProviderName = healthcareProviderName;
	}

	public String getFullAddress() {
		return fullAddress;
	}

	public void setFullAddress(String fullAddress) {
		this.fullAddress = fullAddress;
	}

	public String getQualifiedDate() {
		return qualifiedDate;
	}

	public void setQualifiedDate(String qualifiedDate) {
		this.qualifiedDate = qualifiedDate;
	}

	public String getOrgViolationsScoresDesc() {
		return orgViolationsScoresDesc;
	}

	public void setOrgViolationsScoresDesc(String orgViolationsScoresDesc) {
		this.orgViolationsScoresDesc = orgViolationsScoresDesc;
	}

	public String getCaseNo() {
		return caseNo;
	}

	public void setCaseNo(String caseNo) {
		this.caseNo = caseNo;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public String getHappenDate() {
		return happenDate;
	}

	public void setHappenDate(String happenDate) {
		this.happenDate = happenDate;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getSuspendPayExecutionTime() {
		if (StringUtils.isNotEmpty(getPunishDateStart()) && StringUtils.isNotEmpty(getPunishDateStart())) {
			this.suspendPayExecutionTime = getPunishDateStart() + "-" + getPunishDateEnd();
		}
		return suspendPayExecutionTime;
	}

	public void setSuspendPayExecutionTime(String suspendPayExecutionTime) {
		this.suspendPayExecutionTime = suspendPayExecutionTime;
	}

	public String getPunishDateStart() {
		return punishDateStart;
	}

	public void setPunishDateStart(String punishDateStart) {
		this.punishDateStart = punishDateStart;
	}

	public String getPunishDateEnd() {
		return punishDateEnd;
	}

	public void setPunishDateEnd(String punishDateEnd) {
		this.punishDateEnd = punishDateEnd;
	}

	public byte[] getDataBlob() {
		return dataBlob;
	}

	public void setDataBlob(byte[] dataBlob) {
		this.dataBlob = dataBlob;
	}

}
